package com.myproject.filmrecommendationsys.domain;
import java.util.Date;
import lombok.Data;


/**
 * 轮播图对象 banner
 */
@Data
public class Banner
{
    private static final long serialVersionUID = 1L;
    private Long id;
    private String imageUrl;
    private String link;
    private Date createdTime;
    private Date updatedTime;

    public Banner(Long id, String imageUrl, String link, Date createdTime, Date updatedTime) {
        this.id = id;
        this.imageUrl = imageUrl;
        this.link = link;
        this.createdTime = createdTime;
        this.updatedTime = updatedTime;
    }
    public Banner(){}

    @Override
    public String toString() {
        return "Banner{" +
                "id=" + id +
                ", imageUrl='" + imageUrl + '\'' +
                ", link='" + link + '\'' +
                ", createdTime=" + createdTime +
                ", updatedTime=" + updatedTime +
                '}';
    }
}
